package com.example.handler;

import com.example.entity.SysEntity;
import com.example.entity.SysTask;
import com.example.service.SysTaskService;

import java.util.List;

public interface SysTaskHandler {

    public SysTaskService getSysTaskService();

    public Boolean isMatch(SysTask sysTask);

    public Boolean isSpeedy();

    public void handler(SysTask sysTask) throws Exception;

    public void send(SysEntity sysEntity);

    public void sendBatch(List<SysEntity> sysEntity);
}
